Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.platform.video.layouts--widgets

This contribution is part of XML component org.nuxeo.ecm.platform.video.layouts inside nuxeo-platform-video-jsf-5.8.jar

Extension Point

Extension point widgets of component WebLayoutManager.

Contributed Items

  • <widget name="summary_video_player" type="video_player">
          <properties widgetMode="any">
            <property name="width">550</property>
            <property name="height">310</property>
          </properties>
        </widget>
  • <widget name="summary_video_storyboard" type="video_storyboard">
          <labels>
            <label mode="any">heading.storyboard</label>
          </labels>
          <translated>true</translated>
          <controls mode="any">
            <control name="handleLabels">true</control>
          </controls>
        </widget>
  • <widget name="summary_video_conversions" type="video_conversions">
          <labels>
            <label mode="any">heading.videoConversions</label>
          </labels>
          <controls mode="any">
            <control name="requireSurroundingForm">true</control>
            <control name="handleLabels">true</control>
          </controls>
        </widget>
  • <widget name="summary_video_info" type="video_info">
          <labels>
            <label mode="any">heading.video.info</label>
          </labels>
          <controls mode="any">
            <control name="handleLabels">true</control>
          </controls>
        </widget>
  • <widget name="video_info_duration" type="text">
          <labels>
            <label mode="any">label.widget.video.duration</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>vid:info/duration</field>
          </fields>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
        </widget>
  • <widget name="video_info_width" type="int">
          <labels>
            <label mode="any">label.widget.video.width</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>vid:info/width</field>
          </fields>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
        </widget>
  • <widget name="video_info_height" type="int">
          <labels>
            <label mode="any">label.widget.video.height</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>vid:info/height</field>
          </fields>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
        </widget>
  • <widget name="video_info_format" type="text">
          <labels>
            <label mode="any">label.widget.video.format</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>vid:info/format</field>
          </fields>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
        </widget>
  • <widget name="video_info_frameRate" type="text">
          <labels>
            <label mode="any">label.widget.video.frameRate</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>vid:info/frameRate</field>
          </fields>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
        </widget>
  • <widget name="video_info_streams" type="list">
          <labels>
            <label mode="any">label.widget.video.streams</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>vid:info/streams</field>
          </fields>
          <properties widgetMode="edit">
            <property name="required">true</property>
          </properties>
          <subWidgets>
            <widget name="listItem" type="text">
              <fields>
                <field>streamInfo</field>
              </fields>
              <labels>
                <label mode="any"/>
              </labels>
              <widgetModes>
                <mode value="any">view</mode>
              </widgetModes>
            </widget>
          </subWidgets>
        </widget>
  • <widget name="videoFile" type="video_file">
          <labels>
            <label mode="any">label.file.content</label>
          </labels>
          <translated>true</translated>
          <fields>
            <field>file:content</field>
            <field>file:filename</field>
          </fields>
        </widget>

XML Source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">

    <widget name="summary_video_player" type="video_player">
      <properties widgetMode="any">
        <property name="width">550</property>
        <property name="height">310</property>
      </properties>
    </widget>

    <widget name="summary_video_storyboard" type="video_storyboard">
      <labels>
        <label mode="any">heading.storyboard</label>
      </labels>
      <translated>true</translated>
      <controls mode="any">
        <control name="handleLabels">true</control>
      </controls>
    </widget>

    <widget name="summary_video_conversions" type="video_conversions">
      <labels>
        <label mode="any">heading.videoConversions</label>
      </labels>
      <controls mode="any">
        <control name="requireSurroundingForm">true</control>
        <control name="handleLabels">true</control>
      </controls>
    </widget>

    <widget name="summary_video_info" type="video_info">
      <labels>
        <label mode="any">heading.video.info</label>
      </labels>
      <controls mode="any">
        <control name="handleLabels">true</control>
      </controls>
    </widget>

    <widget name="video_info_duration" type="text">
      <labels>
        <label mode="any">label.widget.video.duration</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>vid:info/duration</field>
      </fields>
      <widgetModes>
        <mode value="any">view</mode>
      </widgetModes>
    </widget>

    <widget name="video_info_width" type="int">
      <labels>
        <label mode="any">label.widget.video.width</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>vid:info/width</field>
      </fields>
      <widgetModes>
        <mode value="any">view</mode>
      </widgetModes>
    </widget>

    <widget name="video_info_height" type="int">
      <labels>
        <label mode="any">label.widget.video.height</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>vid:info/height</field>
      </fields>
      <widgetModes>
        <mode value="any">view</mode>
      </widgetModes>
    </widget>

    <widget name="video_info_format" type="text">
      <labels>
        <label mode="any">label.widget.video.format</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>vid:info/format</field>
      </fields>
      <widgetModes>
        <mode value="any">view</mode>
      </widgetModes>
    </widget>

    <widget name="video_info_frameRate" type="text">
      <labels>
        <label mode="any">label.widget.video.frameRate</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>vid:info/frameRate</field>
      </fields>
      <widgetModes>
        <mode value="any">view</mode>
      </widgetModes>
    </widget>

    <widget name="video_info_streams" type="list">
      <labels>
        <label mode="any">label.widget.video.streams</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>vid:info/streams</field>
      </fields>
      <properties widgetMode="edit">
        <property name="required">true</property>
      </properties>
      <subWidgets>
        <widget name="listItem" type="text">
          <fields>
            <field>streamInfo</field>
          </fields>
          <labels>
            <label mode="any"/>
          </labels>
          <widgetModes>
            <mode value="any">view</mode>
          </widgetModes>
        </widget>
      </subWidgets>
    </widget>

    <widget name="videoFile" type="video_file">
      <labels>
        <label mode="any">label.file.content</label>
      </labels>
      <translated>true</translated>
      <fields>
        <field>file:content</field>
        <field>file:filename</field>
      </fields>
    </widget>
  </extension>